package edu.whu.zqm.assignment7.monitor;

import lombok.Data;

@Data
public class ServiceMonitorData {
    private int Count;
    private Long maxTime = null;
    private Long minTime = null;
    private long totalTime;
    private int exceptionCount;

    public double getAverageResponseTime() {
        return (double) totalTime / Count;
    }
}
